package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Employee;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface EmployeeService extends IService<Employee> {

    Map checkLogin(Employee employee, HttpSession session);

    int add(Employee employee);

    Page<Employee> pageSelect(Integer page, Integer pageSize, String name);
}
